package com.lcxw.hxzbadmin.dao.adminmapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;
import com.lcxw.hxzbadmin.entity.pojo.ChargeConfig;

@Component
@Mapper
public interface ChargeConfigMapper {

    @Update({"UPDATE ywpd_chargeconfig SET id = #{id},chargeType=#{chargeType},account=#{account},"
        + "secret=#{secret}"
        + " WHERE chargeType=#{chargeType}"})
    int updateChargeByType(ChargeConfig chargeConfig) throws Exception;
}
